<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/custom.css" />
    <style>
        table.dataTable thead .sorting{
            background: none;
        }
        table.dataTable thead .sorting_asc{
            background: none;
        }
    </style>
    <title>地推登记表首页</title>
</head>
<body data-id="60">
<nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i> 首页
    <span class="c-gray en">&gt;</span>会员管理
    <span class="c-gray en">&gt;</span>地推登记表
    <a class="btn btn-success radius r"
       style="line-height:1.6em;margin-top:3px"
       href="javascript:location.replace(location.href);"
       title="刷新" >
        <i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<article class="page-container">
    <form class="ml-20 mr-20" id="form-search"  method="post">
        <div class="bg-1 bk-gray pb-10">
            <div class="va-m pl-15 lh-50 f-16">
                <strong>地推登记表管理</strong>
            </div>
            <div class="lh-30 mb-10 ml-20">
                <!--<table class="table_li mb-10 table">
                    <thead class="text-l">
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r lh-26 w-80">账号：</label>
                                <div class="formControls f-l">
                                    <input type="text"
                                           class="input-text radius ml-10 w-150"
                                           id="loginAccount"
                                           placeholder="请您输入账号"
                                           maxlength="20">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-1 lh-26">获客来源：</label>
                                <select class="select radius f-l ml-8 w-150"
                                        size="1" style="height: 30px;" id="registerPlatform">
                                    <option value="">请您选择获客来源</option>
                                    <option value="10">PC</option>
                                    <option  value="20">安卓</option>
                                    <option  value="30">IOS</option>
                                    <option  value="40">H5</option>
                                </select>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">手机号：</label>
                                <div class="formControls f-l">
                                    <input type="text"
                                           class="input-text radius ml-10 w-150"
                                           placeholder="请您输入手机号"
                                           id="mobilePhone"
                                           datatype="n0-11"
                                           errormsg="输入格式不正确"
                                           ignore="ignore"
                                           maxlength="11"
                                           onKeyUp="value=value.replace(/\s+/g,'')">

                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">地推人员：</label>
                                <div class="formControls f-l">
                                    <input type="text"
                                           class="input-text radius ml-10 w-150"
                                           id="groundPushPersonName"
                                           placeholder="请您输入地推人员"
                                           maxlength="15">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-1 lh-26">注册时间：</label>
                                <div class="formControls f-l">
                                    <input type="text"
                                           class="input-text Wdate radius ml-10"
                                           onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'endTime\')||\'%y-%M-%d\'}' })"
                                           id="beginTime" style="width:120px;">
                                    <span>~</span>
                                    <input type="text"
                                           class="input-text Wdate radius"
                                           onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'beginTime\')}' })"
                                           id="endTime" style="width:120px;">
                                </div>
                            </div>
                        </td>
                    </tr>
                    </thead>
                </table>-->
                <table class="table_li mb-10 table">
                    <thead class="text-l">
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l label-right">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;帐号：</label>
                                <div class="formControls f-l">
                                    <input type="text"
                                           class="input-text radius ml-10 w-150"
                                           id="loginAccount"
                                           placeholder="请您输入账号"
                                           maxlength="20">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>


                        <td class="col-3-1">
                            <div class="row">
                                <!--<label class="form-label f-l label-right">获客来源：</label>
                                <select class="select radius f-l ml-8 w-150"
                                        size="1" style="height: 30px;" id="registerPlatform">
                                    <option value="">请您选择获客来源</option>
                                    <option value="10">PC</option>
                                    <option  value="20">安卓</option>
                                    <option  value="30">IOS</option>
                                    <option  value="40">H5</option>
                                </select>-->

                                <label class="form-label f-l label-right w-60">来源：</label>
                                <select class="select radius f-l ml-10 w-150"
                                        size="1" style="height: 30px;" id="registerPlatform">
                                    <option value="">请您选择获客来源</option>
                                    <option value="10">PC</option>
                                    <option  value="20">安卓</option>
                                    <option  value="30">IOS</option>
                                    <option  value="40">H5</option>
                                </select>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l label-right">手机号：</label>
                                <div class="formControls f-l">
                                    <input type="text"
                                           class="input-text radius ml-10 w-150"
                                           placeholder="请您输入手机号"
                                           id="mobilePhone"
                                           datatype="n0-11"
                                           errormsg="输入格式不正确"
                                           ignore="ignore"
                                           maxlength="11"

                                           onkeyup="value=value.replace(/[^\0-9]/g,'')"
                                    >

                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l label-right">地推人员：</label>
                                <div class="formControls f-l">
                                    <input type="text"
                                           class="input-text radius ml-10 w-150"
                                           id="groundPushPersonName"
                                           placeholder="请您输入地推人员"
                                           maxlength="15">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l label-right">注册日期：</label>
                                <div class="formControls f-l">
                                    <input type="text"
                                           class="input-text Wdate radius ml-10"
                                           onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'endTime\')||\'%y-%M-%d\'}' })"
                                           id="beginTime" style="width:120px;">
                                    <span>~</span>
                                    <input type="text"
                                           class="input-text Wdate radius"
                                           onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'beginTime\')}' })"
                                           id="endTime" style="width:120px;">
                                </div>
                            </div>
                        </td>
                    </tr>
                    </thead>
                </table>

            </div>
            <div class="text-c pb-20 pt-10">
                <input  id="search"  type="button" class="btn btn-secondary radius size-S powerButton 180" onclick="searchList()" value="查&nbsp;&nbsp;询">
                <input name="" type="reset" onclick="resetDiv()" class="btn radius size-S ml-10 powerButton 180" value="重&nbsp;&nbsp;置">
            </div>
            <table class="table table-border table-bg table-hover table-sort mt-10" id="datatable">
                <thead>
                <tr class="text-c">
                    <!-- <th>id</th> -->
                    <th>序号</th>
                    <th>帐号</th>
                    <th>手机号</th>
                    <th>来源</th>
                    <th>注册时间</th>

                    <th>地推人员</th>
                    <th>信息最后更新时间</th>

                    <th>操作</th>
                    <!-- <th>id</th> -->
                </tr>
                </thead>
                <tbody class="shun">

                </tbody>
            </table>
            <div class="mt-40"></div>
            <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                <div class="f-r pageturning M-box3"></div>
            </div>
        </div>
    </form>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
<!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script src="../../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<script src="../../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../../ht-js/Project.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../../../lib/pagination/pagination.css">
<script src="../../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>

<script src="../../../../ht-js/Customer/custInfoRegisterForm.js?rev=@@hash"></script>
<!--权限控制-->
<script type="text/javascript" src="../../../../ht-js/power.js?rev=@@hash"></script>
<script>
    $('#reset').click(function(){
        $('input').val('');
        $('select').val('');
    })

</script>

<script>
    /*function ValidateValue(textbox) {
                        var IllegalString = "[`~!#$^&*()=|{}':;',\\[\\].<>/?~！#￥……&*（）——|{}【】‘；：”“'。，、？]‘’";
                        var textboxvalue = textbox.value;
                        var index = textboxvalue.length - 1;
                        var s = textbox.value.charAt(index);
                        if (IllegalString.indexOf(s) >= 0) {
                            s = textboxvalue.substring(0, index);
                            textbox.value = s;
                        }
                    }*/
    $(function() {
        $("#brandSearchForm").Validform({
            tiptype: 2,
            callback: function(form) {
                brand_list(1, 50, $("#brandName").val());
                return false;
            }
        });
        $("#cxManage").Validform({
            tiptype: 2,
            callback: function(form) {
                cx_list();
                return false;
            }
        });
    })
    function timeSet(startEl,endEl,timeFormat){
        /*startEl=>开始时间Input的id，endEl=>结束时间Input的id，时间格式（YYYY-MM-DD hh:mm:ss  YYYY年MM月DD日 hh:mm:ss）*/
        /*时间设置*/
        var start = {
            format: timeFormat,
            maxDate: $.nowDate(),
            okfun: function(obj){
                end.minDate = obj.val; //开始日选好后，重置结束日的最小日期
            }
        };
        var end = {
            format: timeFormat,
            maxDate: $.nowDate(),
            okfun: function(obj){
                start.maxDate = obj.val; //将结束日的初始值设定为开始日的最大日期
            }
        };
        $.jeDate(startEl,start);
        $.jeDate(endEl,end);
    }
    timeSet("#timemin","#timemax","YYYY-MM-DD hh:mm:ss");

    jQuery.Huitab = function(tabBar, tabCon, class_name, tabEvent, i) {
        var $tab_menu = $(tabBar);
        // 初始化操作
        $tab_menu.removeClass(class_name);
        $(tabBar).eq(i).addClass(class_name);
        $(tabCon).hide();
        $(tabCon).eq(i).show();
        $tab_menu.bind(tabEvent, function() {
            $tab_menu.removeClass(class_name);
            $(this).addClass(class_name);
            var index = $tab_menu.index(this);
            $(tabCon).hide();
            $(tabCon).eq(index).show();
        });
    }

    $(function() {
        $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "0")
    });
    // #tab_demo 父级id
    // #tab_demo .tabBar span 控制条
    // #tab_demo .tabCon 内容区
    // click 事件 点击切换，可以换成mousemove 移动鼠标切换
    // 1	默认第2个tab为当前状态（从0开始）
    // 刷新
    function reload() {
        //location.replace(location.href);
        window.location.reload(location.href);
    }
    $(function(){
        $("#form-search").Validform({
            tiptype:2,
            callback:function(form){
                getList(1)
                return false;
            }
        });
    })
</script>
</body>
</html>